﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp3
{
    class dog:animal,Iswim
    {
        public dog(string name) : base(name) { }
        public void swim()
        {
            base.Iseat(Name);
            Console.WriteLine("{0}会游泳", this.Name);
        }
    }
}
